import { theme } from 'antd';

export {
  Button, Drawer, message, theme, Divider,
  Space, Input, Form, Select, Radio, TreeSelect, Row, Col,
  Checkbox, Table
} from 'antd';
export { ProCard } from '@ant-design/pro-components';
export { QuestionCircleOutlined } from '@ant-design/icons';

export const useToken = () => {
  const { useToken } = theme;
  const token = useToken();
  return token.token;
};
